<form method="POST" id="frm_photo" action="<?php echo site_url("profile/saveTof"); ?>" enctype="multipart/form-data" >
    <fieldset style="text-align: left;">
        <!-- Form Name -->
        <legend style="color:#0088cc; font-weight: lighter;">Photo Modification :</legend>
    </fieldset>
    <br/>
    <br/>
    <div class="value-profile" style="min-height: 50px;">
        <input id="tof" name="tof" type="file" >
    </div>
    <div class="controls">
        <input type="submit" id="savephoto" name="savephoto" class="btn btn-primary" value="Save photo" />
    </div>
    <div class="clear"></div>
</form>